package com.wenshi.web.controller.device;

import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;
@Service
public class RequestInfoService {

    private final List<RequestInfo> requestInfoList = new ArrayList<>();
    public void saveRequestInfo(RequestInfo requestInfo) {
        requestInfoList.add(requestInfo);
    }
    public List<RequestInfo> getAllRequestInfo() {
        return new ArrayList<>(requestInfoList);
    }

}
